package com.cyandpos.pad.offline.upload;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xin on 2021/11/2
 * desc:
 */
public class TicketPayItemOffline {
    public List<OrderPayitemOffline> payInfoList;//付款详情信息
    private int payCode;//付款方式
    private String payName;//付款方式名称
    int payAmount;//付款金额
    int overflowAmount;//溢于金额
    int payType;//付款方式类型
    int yhbj;//是否记优惠标记
    int yhqid =-1;//优惠券id
    String payGuid;
    String djdh;//定金单号
    int iscoded;//
    int changeType;//找零处理方式
    double rate;//汇率
    int payAmount_tax_share;//税金额
    int syftje;//剩余分摊金额
//    public List<TicketPayItem> DJDPayInfoList;//定金单付款信息


    public TicketPayItemOffline() {
        payInfoList = new ArrayList<>();
    }

    public List<OrderPayitemOffline> getPayInfoList() {
        return payInfoList;
    }

    public void setPayInfoList(List<OrderPayitemOffline> payInfoList) {
        this.payInfoList = payInfoList;
    }

    public int getPayCode() {
        return payCode;
    }

    public void setPayCode(int payCode) {
        this.payCode = payCode;
    }

    public String getPayName() {
        return payName;
    }

    public void setPayName(String payName) {
        this.payName = payName;
    }

    public int getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(int payAmount) {
        this.payAmount = payAmount;
    }

    public int getOverflowAmount() {
        return overflowAmount;
    }

    public void setOverflowAmount(int overflowAmount) {
        this.overflowAmount = overflowAmount;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public int getYhbj() {
        return yhbj;
    }

    public void setYhbj(int yhbj) {
        this.yhbj = yhbj;
    }

    public int getYhqid() {
        return yhqid;
    }

    public void setYhqid(int yhqid) {
        this.yhqid = yhqid;
    }

    public String getPayGuid() {
        return payGuid;
    }

    public void setPayGuid(String payGuid) {
        this.payGuid = payGuid;
    }

    public String getDjdh() {
        return djdh;
    }

    public void setDjdh(String djdh) {
        this.djdh = djdh;
    }

    public int getIscoded() {
        return iscoded;
    }

    public void setIscoded(int iscoded) {
        this.iscoded = iscoded;
    }

    public int getChangeType() {
        return changeType;
    }

    public void setChangeType(int changeType) {
        this.changeType = changeType;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public int getPayAmount_tax_share() {
        return payAmount_tax_share;
    }

    public void setPayAmount_tax_share(int payAmount_tax_share) {
        this.payAmount_tax_share = payAmount_tax_share;
    }

    public int getSyftje() {
        return syftje;
    }

    public void setSyftje(int syftje) {
        this.syftje = syftje;
    }

    @Override
    public String toString() {
        return "TicketPayItemOffline{" +
                "payInfoList=" + payInfoList +
                ", payCode=" + payCode +
                ", payName='" + payName + '\'' +
                ", payAmount=" + payAmount +
                ", overflowAmount=" + overflowAmount +
                ", payType=" + payType +
                ", yhbj=" + yhbj +
                ", yhqid=" + yhqid +
                ", payGuid='" + payGuid + '\'' +
                ", djdh='" + djdh + '\'' +
                ", iscoded=" + iscoded +
                ", changeType=" + changeType +
                ", rate=" + rate +
                ", payAmount_tax_share=" + payAmount_tax_share +
                ", syftje=" + syftje +
                '}';
    }
}
